package com.dqx.haoqiu.mvp.common.constant;

/**
 * 业务层错误码
 */
public enum ErrorCode {
    TOKEN_LOSE_EFFICACY(401, "token失效"),
    UN_REGISTER(100404, "账号未注册"),
    ACCOUNT_OR_PASSWORD_ERROR(100405, "账号或密码错误");

    private int value;
    private String display;

    ErrorCode(int value, String display) {
        this.value = value;
        this.display = display;
    }

    public int getValue() {
        return value;
    }

    public String getDisplay() {
        return display;
    }

}
